<{include file="common/header.tpl"}>
<section id="spread_one" class="column">
    <article class="module width_3_quarter">
        <header>
            <h3 class="tabs_involved " style="width:500px">管理员列表：共(<{$users.count}>)个 [<a href="/user/add/manager">添加</a>]</h3>
    </header>

		<div class="tab_container" style="padding: 2em;">
			<div id="tab1" class="tab_content">
			<table class="tablesorter" cellspacing="0"> 
			    <thead> 
                        <tr class="th">
                        <th><div class="tl">账号</div></th>
                        <th><div>姓名</div></th>
                        <th><div>手机</div></th>
                        <th><div>注册时间</div></th>
						<th>角色</th>
                        </tr>
                </thead>

                <tbody>
						<{foreach from=$users.list key=key item=item}>
						<tr>
						<td class="tl"><a href="/user/detail/manager/<{$item.uid}>"><{$item.passport}></a></td>
                        <td><{if $item.realname}><{$item.realname}><{else}><{$item.nickname}><{/if}></td>
						<td><{$item.mobile}></td>
						<td><{"Y-m-d H:i"|@date:$item.create_time}></td>
						<td>
                        <{if $item.role_id == 'supermanager'}>
                            超级管理员
                        <{elseif $item.role_id == 'commonmanager'}>
                            推广主管
                        <{elseif $item.role_id == 'auditor'}>
                            项目主管
                        <{elseif $item.role_id == 'financial'}>
                            财务
                        <{else}>
                            未知
                        <{/if}>
                        </td>
                        </tr>
						<{/foreach}>
			    </tbody> 
			</table>
			</div><!-- end of #tab1 -->
		</div><!-- end of .tab_container -->
        <div class="pagination"><{$pagination}></div>


	<div class="clear"></div>
    </article><!-- end of content manager article -->
</section>			
<{include file="common/footer.tpl"}>
